<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>测试溢出</title>
    <style>
        div{
            height: 150px;
            border: solid red 1px;
            overflow: auto;
        }

    </style>
</head>
<body>

<div>
<p>aaaaaaaaaaaaaaaaaaa</p>
<p>aaaaaaaaaaaaaaaaaaa</p>
<p>aaaaaaaaaaaaaaaaaaa</p>
<p>aaaaaaaaaaaaaaaaaaa</p>
<p>aaaaaaaaaaaaaaaaaaa</p>
<p>aaaaaaaaaaaaaaaaaaa</p>
<p>aaaaaaaaaaaaaaaaaaa</p>
</div>
</body>
</html>